For example, you could specify that the title property must be a string or that a comment item must have author, created, and content properties. 例如,可以指定title属性必须是字符串或指定一个评论项必须有author、created以及content属性。
This method takes a String representation of a catalog Item's ID, adds that item to the Cart, and updates the price total. 这个方法接受目录Item的ID的String表示,把这个商品添加到Cart中并更新总价。
For example, a boolean value should be string value true or false before being saved to the item set. 例如,在保存到项目集以前,布尔值应该为字符串值true或false。
A property can be set either to a string or another item. 可以将属性设置为字符串或另一个内容项。
The string value retrieved from the item set also needs to be transformed into the correct data type. 从项目集检索的字符串值还需要转换为正确的数据类型。
The key is usually an Integer or a string, and the item is of any type. 该密钥通常是整型或字符串的,条目是任何类型的。
In a production environment, a string that is a configuration item should be externalized as an Eclipse preference. 在生产环境中,应该将作为配置项的字符串具体化为一个Eclipse首选项。
Do you remember when I said all item attribute values are stored as Strings? 还记得我说过,所有项目属性都存储为String吗?
If you were to improve performance here, you could cache the string instead of re-creating it for every item in the inventory. 如果您要提高这里的性能,可以缓存该字符串,而不是为库存中的每个项目重新创建它。
As with Item, I've provided a synthetic member named formattedTotalPrice that is a pre-formatted String representation of the numerical total. 使用Item,我还提供了一个合成的成员叫作formattedTotalPrice,它是金额汇总的格式化好的String表示。
Modifying an item within a list is rather simple: You set the item's value appropriately, even to a different type, such as a string or another list. 修改list中的条目相当容易:您可以适当地设置条目的值,甚至设置成另一种不同的类型,如string或另一list。
Exception string: the specified item cannot be removed. 异常字符串:不能移除指定的项。
Specifies a set of fields and field separators, which is used to create a string to represent a contact item. 指定一组区域及区域分隔符,用来创建代表通讯录记录的一个字串。
A string describing the menu item. 描述菜单项的字符串。
Displays a string on the pane, and add a corresponding item to the task list. 显示窗格上的字符串,并将相应的项添加到任务列表中。
A string constant used in postback event arguments to indicate whether the list should jump to the first item beyond the currently visible items. 在回发事件参数中使用的字符串常量,用于指示列表是否应跳转到当前可见项之外的第一个项。
In both of these cases, you can specify a separator string for an item list. 在这两种情况中,可以为项列表指定分隔符字符串。
Returns a string providing information on the selected item. 返回提供有关选定项信息的字符串。
Sets or returns the string contents of the list item. 设置或返回列表项的字符串内容。
Argument is the same string you used to add the item to the collection. 参数就是您用来向集合添加项的字符串。
Beijing Daxing Sports Leisure Park Water World structure system is cable-stayed and beam string structure. Authors introduce the item projects characteristics and construction, such as steel structure, membrane structure, chord structure and curtain structure. 北京大兴体育休闲公园水世界工程为结构复杂的斜拉索-张弦梁钢结构,介绍了工程钢结构、膜结构、索结构、幕墙结构等分项工程的特点和施工。